package com.si2.bean;

public class ArranjoBean {
	private int ganho;
	private int agES;
	private int agDS;
	private int agDI;
	private int agEI;
	private int type;
	public ArranjoBean(int agES, int agDS, int agDI, int agEI, int ganho){
		this.agES = agES;
		this.agDS = agDS;
		this.agDI = agDI;
		this.agEI = agEI;
		this.ganho = ganho;
	}
	
	public int getGanho() {
		return ganho;
	}

	public void setGanho(int ganho) {
		this.ganho = ganho;
	}

	public int getAgES() {
		return agES;
	}
	public void setAgES(int agES) {
		this.agES = agES;
	}
	public int getAgDS() {
		return agDS;
	}
	public void setAgDS(int agDS) {
		this.agDS = agDS;
	}
	public int getAgEI() {
		return agEI;
	}
	public void setAgEI(int agEI) {
		this.agEI = agEI;
	}
	public int getAgDI() {
		return agDI;
	}
	public void setAgDI(int agDI) {
		this.agDI = agDI;
	}
	
	public String toString(){
		return "("+agES+","+agDS+","+agDI+","+agEI+")";
	}
	
	public int[] toArray(){
		return new int[]{ this.agES, this.agDS, this.agDI, this.agEI};
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}
}
